package com.lc.sell.service;

import com.lc.sell.entity.Addresses;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lc.sell.vo.ResultVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 龙晨
 * @since 2022-02-01
 */
public interface AddressesService extends IService<Addresses> {

    //  添加用户地址
    ResultVo insertAddresses(Addresses addresses,String userid);
    //  查询地址列表
    ResultVo selectAddressList(String userId);
    //  修改用户地址
    ResultVo updateAddresses(Addresses addresses);
    //  根据用户id查询用户地址
    ResultVo selectOneAddresses(Integer id);
    //  删除用户地址
    ResultVo deleteAddresses(Integer id);

}
